package java.wxw;

/**
 * 文件打开模式
 * @author wangxianwei、weisuhang
 * @create 2020--06--15--13:46
 */
public class FileOpenMode {
    public int openIf;     //0-close,1-open
    public int openMode;    //0-read only,1-write only,2-read and write,3-protected

    public int getOpenIf() {
        return openIf;
    }

    public void setOpenIf(int openIf) {
        this.openIf = openIf;
    }

    public int getOpenMode() {
        return openMode;
    }

    public void setOpenMode(int openMode) {
        this.openMode = openMode;
    }

    public FileOpenMode(int openIf, int openMode) {
        this.openIf = openIf;
        this.openMode = openMode;
    }

    public FileOpenMode() {
    }
}
